package com.bjsy.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;


/**
 * 返回状态码和信息枚举
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ResultEnum {

    QUERY_FAIL(10001, "获取信息失败"),
    SAVA_FAIL(10002, "保存失败"),
    DELETE_FAIL(10003, "删除失败"),
    UPDATE_FAIL(10004, "更新失败")
    ;

    private Integer code;
    private String msg;
}
